<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>IOS Clock</title>
    <style type="text/css">
      .clock {
          width: 500px;
          height: 500px;
          background-color: #222;
          margin: 50px auto;
          border-radius: 100px;
      }
    </style>
</head>
<body>
    <div class="clock">
        <canvas id="clock" width="500" height="500"></canvas>
    </div>
    <script type="text/javascript" src="js/index.js"></script>
    <script type="text/javascript">
       new Clock({
        /*
         * 建议颜色设置不一致
         */
        //表盘颜色
        drawPanelStyle :'#6fa698',
        //时针的颜色
        drawIndictorStyle:'#424242',
        //中心点外层
        drawCentralPointStyle : '#424242',
        ////中心点内层 
        drawCentralPointInsideStyle: '#999999'
       })
    
    
    
    </script> 
</body>
</html>